<template>
  <div class="check-box">
    <div :class="{ red: isClick }">
      <img src="~assets/img/cart/tick.svg" alt="" />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    isClick: {
      type: Boolean,
      default() {
        return false;
      },
    },
  },
};
</script>

<style>
.check-box > div {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #8c8c8c;
}
.red {
  background-color: red;
}
</style>